package com.anonymous.message;

import java.util.ArrayList;

import com.anonymous.model.User;

public class PostUserListMsgArrayList extends Message {

	private static final long serialVersionUID = -8936956098326766647L;
	private ArrayList<User> userList;

	public PostUserListMsgArrayList(ArrayList<User> userlist) {
		flag = "POST_USERLIST";
		this.setUserList(userlist);
	}

	public PostUserListMsgArrayList() {
		flag = "POST_USERLIST";
		this.setUserList(null);
	}

	public void setUserList(ArrayList<User> userList) {
		this.userList = userList;
	}

	public ArrayList<User> getUserList() {
		return userList;
	}
}
